<%@ taglib uri="http://waffle.codehaus.org" prefix="w" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>

<%@page pageEncoding="UTF-8" contentType="text/html; charset=UTF-8" %>
<%@ page errorPage="/suporte/Erro.jsp" %>

<html>
<head>
    <title>${projeto}</title>
    <link rel="stylesheet" type="text/css" href="css/theme.css" />
	<link rel="stylesheet" type="text/css" href="css/style.css" />
	<script>
		if (navigator.appName == 'Microsoft Internet Explorer'){ 
			document.writeln('<link rel="stylesheet" type="text/css" href="css/ie-sucks.css" />'); 
		}
	</script>		
</head>

<script language="JavaScript" type="text/JavaScript">
	function menuEscolhido(indice, urlCorpo, urlMenu) {
   		for (i=1; i<=7; i++) {
   			if (indice == i) {
   				document.getElementById('item_' + i).className = 'current';
   			} else {
   				document.getElementById('item_' + i).className = '';
   			}
   		}
   		parent.fraCorpo.location = urlCorpo;
   		parent.fraMenu.location = urlMenu;
    }
</script>

<body style="background:url(img/bg_blue.jpg) repeat-x top;">

<c:set var="imagem" value="img/LogoJHD.jpg"></c:set>

<div id="header">
   	<h2>${projeto}</h2>
    <div id="topmenu">
		<ul>
			<li id="item_1" class="current"><a href="javascript: menuEscolhido('1', 'exemplo.exemploCadastro.logic','MenuDireito.jsp');"><fmt:message key="lbl.estoque"/></a></li>
	        <li id="item_2"><a href="javascript: menuEscolhido('2', 'usuario.consultaUsuario.logic','');"><fmt:message key="lbl.financas"/></a></li>
	       	<li id="item_3"><a href="javascript: menuEscolhido('3', 'usuario.consultaUsuario.logic','');"><fmt:message key="lbl.movimentacao"/></a></li>
	        <li id="item_4"><a href="javascript: menuEscolhido('4', 'usuario.cadastroUsuario.logic','');"><fmt:message key="lbl.formularios"/></a></li>
            <li id="item_5"><a href="JavaScript: menuEscolhido('5', 'usuario.cadastroUsuario.logic','');"><fmt:message key="lbl.relatorios"/></a></li>
            <li id="item_6"><a href="javascript: menuEscolhido('6', 'usuario.cadastroUsuario.logic','');"><fmt:message key="lbl.utilitarios"/></a></li>            
            <li id="item_7"><a href="JavaScript: void(0);" onClick="JavaScript: parent.location.href='usuario.efetuaLogout.logic';"><span><fmt:message key="lbl.sair"/></span></a></li>
	    </ul>
    </div>
</div>

</body>
</html>